package org.dromara.wyl.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.wyl.domain.NppDetail;

/**
 * 【请填写功能名称】业务对象 npp_detail
 *
 * @author Lion Li
 * @date 2023-12-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NppDetail.class, reverseConvertGenerate = false)
public class NppDetailBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 数据集id
     */
    @NotNull(message = "数据集id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long datasetId;

    /**
     * 健康状态
     */
    @NotBlank(message = "健康状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String healthState;

    /**
     * 样本数量
     */
    @NotNull(message = "样本数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sampleNumber;

    /**
     * 标签
     */
    @NotNull(message = "标签不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long label;

    /**
     * 文件
     */
    @NotNull(message = "文件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dataFile;


}
